import org.apache.log4j.PropertyConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by hadoop on 17-3-28.
 * Maven Test Logger
 */
public class Main {

    public static void main(String[] args) {
        String configPath = "./src/log4j.properties";
        PropertyConfigurator.configure(configPath);

        Logger logger = LoggerFactory.getLogger(Main.class);
        logger.info("Test Message");
        logger.warn("Hello World!");
        logger.debug("Hello Java!");
    }
}
